import service from "../utils/request";
export function user_login(payload = {}) {
    return service.post('/api/user/login',payload)
}
export function user_register( payload = {} ){
    return service.post('/api/user/register',payload);
}

export function shop_favlist( payload = {} ){
    return service.get('/api/shop/favlist',{ params: payload });
}
export function shop_list( payload = {} ){
    return service.get('/api/shop/list',{ params: payload });
}

export function shop_shopinfo( payload = {} ){
    return service.get('/api/shop/shopinfo',{ params: payload });
}
export function tuan_list(payload = {}) {
    return service.get('/api/tuan/list',{params:payload})
}